<div class="form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'caminhao-form',
	'enableAjaxValidation'=>false,
)); ?>
<div class="formUsuario">
	<p class="note">Campos com <span class="required">*</span> são obrigatórios.</p>

	<?php echo $form->errorSummary($model); ?>

	<div class="row">
		<?php echo $form->labelEx($model,'NUM_PLACA_CAMINHAO'); ?>
		<?php echo $form->textField($model,'NUM_PLACA_CAMINHAO',array('size'=>8,'maxlength'=>8)); ?>
		<?php echo $form->error($model,'NUM_PLACA_CAMINHAO'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'DT_CAD_CAMINHAO'); ?>
		<?php echo $form->textField($model,'DT_CAD_CAMINHAO'); ?>
		<?php echo $form->error($model,'DT_CAD_CAMINHAO'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'TB_CAMINHAO_TIPO_ID_CAMINHAO_TIPO'); ?>
		<?php echo $form->textField($model,'TB_CAMINHAO_TIPO_ID_CAMINHAO_TIPO'); ?>
		<?php echo $form->error($model,'TB_CAMINHAO_TIPO_ID_CAMINHAO_TIPO'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'SEGURO_CAMINHAO'); ?>
		<?php echo $form->textField($model,'SEGURO_CAMINHAO'); ?>
		<?php echo $form->error($model,'SEGURO_CAMINHAO'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'RASTREAMENTO_CAMINHAO'); ?>
		<?php echo $form->textField($model,'RASTREAMENTO_CAMINHAO'); ?>
		<?php echo $form->error($model,'RASTREAMENTO_CAMINHAO'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'ANO_CAMINHAO'); ?>
		<?php echo $form->textField($model,'ANO_CAMINHAO'); ?>
		<?php echo $form->error($model,'ANO_CAMINHAO'); ?>
	</div>

	<div class="row buttons">
		<?php echo CHtml::submitButton($model->isNewRecord ? 'Create' : 'Save'); ?>
	</div>

<?php $this->endWidget(); ?>
</div>
</div><!-- form -->